class Equip_Skill_Helper
  attr_reader   :skills
  attr_reader   :levels
  def initialize(equip_id, type)
    @skills = []
    @levels = []
    case type
      when 1
        set_weapon_skill(equip_id)
      when 2
        set_armor_skill(equip_id)
    end
  end
  def set_weapon_skill(id)
    case 1
      when 1
        @skills.push(2)
        @levels.push(1)
    end
  end
  def set_armor_skill(id)
    case 1
      when 1
        @skills.push(1)
        @levels.push(1)
      when 1
        @skills.push(3)
        @levels.push(1)
    end
  end
  def build_skill(actor, id, level)
    case id
      when 1
        return Equip_Skill_001.new(actor, level)
      when 2
        return Equip_Skill_002.new(actor, level)
      when 3
        return Equip_Skill_003.new(actor, level)
    end
  end
end
